@isTest
private class myControllerExtensionTest {
    public String txt = 'THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG';
    testmethod private static void myTestGetSet() {
 
        // Set test page passing initial parameters.
        PageReference aPage = Page.aPage;
        aPage.getParameters().put('AnyVariable', 'Test Value');
        test.setCurrentPage(aPage);
 
        // Instantiate the standard controller
        Account act = new Account();
        Apexpages.StandardController sc = new Apexpages.standardController(act);
 
        // Instantiate the extension
        myControllerExtension ext = new myControllerExtension(sc);
         
        // Now you can use extension to assert all your methods, properties, getters and setters.
 /*
        // Test Properties
        ext.anyProperty = txt;
        System.assertEquals(txt, ext.anyProperty);
 
        // Test Getters and Setters methods
        ext.setAnyVariable(txt);
        System.assertEquals(txt, ext.getAnyVariable());
 
        // Test Method1()
        System.assertEquals(txt, ext.anyMethod01());          
 
        // Test return value from Method2()
        ext.anyProperty = txt;
        PageReference testPageResults = ext.anyMethod02();
        System.assertEquals(txt, testPageResults.getParameters().get('test'));    */      
    }
}